function ret = MemoryUsage(a, b)
 if ( b == 0)
   ret = -1;
 else
  ret = (a/(a+b))*100;
end;

endfunction